package com.yzion.demo_navigationbar.normaltest;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;

import com.weikaiyun.fragmentation_swipeback.SwipeBackFragment;
import com.yzion.baseapp.R;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;


/**
 * Created by Jue on 2018/6/2.
 */

public class DTestFragment extends SwipeBackFragment {

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_d, null);
        return view;
    }

    public View setContentView(@NonNull LayoutInflater inflater, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_d, null);
        return view;
    }

    public void initView() {

    }

    protected void initData() {

    }

    //提示消息
    public void showToast(String str) {
        Toast.makeText(getContext(), str, Toast.LENGTH_SHORT).show();
    }
}
